<!--  -->
<template>
  <div class="alpha">
    <p v-for="(item, index) of letters" :key="index">{{ item }}</p>
  </div>
</template>

<script>
export default {
  name: 'alphabet',
  props: ['letters']
}
</script>
<style lang="scss" coped>
.alpha {
  position: absolute;
  color: blue;
  top: 1.8rem;
  right: 0;
  z-index: 999;
  width: 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;

  p {
    text-align: center;
    line-height: 0.3rem;
    color: $cityList;
    font-size: 0.24rem;
  }
}
</style>
